/**
  * description:
  * Rabcheng
  * Date:2019/4/2 15:53
  **/
object Testtan {

  def main(args: Array[String]): Unit = {
//
//    val str = "www.lj.gov.cn"
//
//    val strings: Array[String] = str.split("\\|")
//
//    for (s <- strings){
//      println(s)
//    }

//    println("http://www.lj.gov.cn/4447636/18455321.html".contains("http://www.lj.gov.cn/4447636/18455321.html"))
    


//    println(new String("2222\u4fe1\u606f\u6765\u6e90\uff1a \u53bf\u878d\u5a92\u4f53\u4e2d\u5fc3"))

    val lst1 = ("user",List[Int](2,1,1,1))
    val lst2 = ("user",List[Int](1,1,1,1))


    val tuples: List[(Int, Int)] = lst1._2 zip lst2._2

    println(tuples.map(tp=>tp._1 + tp._2))
    println(lst1._2(0))


  }

}
